﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/9/24 星期二 21:23:53
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;
using Sector7.Framework.Enums;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// <!-- The description about this class. -->
    /// </summary>
    [Serializable()]
    [DataContract]
    public class M7_AdjustRecordItem : EntityBase
    {
        #region DBField
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField(DBFieldType.PrimaryKey)]
        public long ItemId {get;set;}
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public long RecordId { get; set; }

        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public long DrugId { get; set; }
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public long SpecId { get; set; }
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public int UnitId { get; set; }
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public decimal OldPurchasesPrice { get; set; }
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public decimal OldSalesPrice { get; set; }
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public decimal NewPurchasesPrice { get; set; }
        
        /// <summary>
        /// 获取或设置
        /// </summary>
        [DataMember]
        [DBField]
        public decimal NewSalesPrice { get; set; }

        #endregion

        #region Extension
        #endregion
    }
}
